package com.csx.data.orm.jpa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaRepositories(basePackages = {"com.csx.data.orm.jpa.base.repositories", "com.csx.data.orm.jpa.batch.repositories", "com.csx.data.orm.jpa.IdGenerator.repositories"})
@ComponentScan(
        excludeFilters = @ComponentScan.Filter(type = FilterType.REGEX, pattern = "com.csx.data.orm.jpa.IdGenerator.*")
)
public class OrmSampleJapApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrmSampleJapApplication.class, args);
    }
}
